package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 千锋健哥
 */
@SpringBootApplication
//开启eureka客户端
@EnableEurekaClient
//开启feign远程调用, 并扫描feign接口包
@EnableFeignClients(basePackages = {"com.qf.feign"})
public class CustomerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CustomerApplication.class, args);
    }
}
